package exception;

import java.awt.*;
import java.io.IOException;

/**
 * 说明:
 *
 * @author:SuZhongHe
 * @date:2023/3/10
 **/
public class ThrowDemo2 {
    public void dosome()throws IOException, AWTException{}
}

class SubClass extends ThrowDemo2{
    @Override
   // public void dosome() throws IOException, AWTException {}
   // public void dosome()throws IOException{}
    public void dosome(){}
}
